Skip to main content

All Questions

4votes
1answer
2kviews

Java 2 Player Object Oriented CLI Chess Game

I just finished implementing a Java 2 player CLI chess game, it involves player putting in commands (i.e "move e2 e4" to move or "attack d1 d5" to capture.). I am trying to follow ...
Yoh's user avatar
  • 61
1vote
2answers
110views

Java dependency injection and hiding details of methods in "Database"-class

I recently posted a bunch of code of my to-do list application and after getting some very helpful and good suggestions on how to improve, I took a shot at it! Here's a link to the former post I made -...
Apelli's user avatar
5votes
1answer
76views

Othello game in Tk

I've recently reached a milestone for my Othello clone. This is my first Python project and the farthest I've come to a full program beyond small scripts and little automations. I'd love for you to ...
JMcClurg's user avatar
4votes
2answers
1kviews

Object Oriented Library Management System

Library management system is a object oriented program that takes care of the basic housekeeping of a library. This is the third part of a series. The first iteration of the project is found here and ...
theProgrammer's user avatar
1vote
2answers
1kviews

Generic Implementation for Paging Class in c#

I have created one generic Page class for store paging information with its data. The class look like: ...
Lalji Dhameliya's user avatar
4votes
3answers
3kviews

Finite State Machine in C++

I made a state machine. You can press 0 and 1 to switch between the hypothetical menu and playing state. I hope you can help me improve it further. StateManager.h ...
Featherball's user avatar
2votes
0answers
2kviews

Simple bank OOP structure in PHP

I don't have much experience using either OOP or PHP since this is probably my first thing ever written in this language. I've had some exposure to OOP but I'm not used to writing programs that way. I ...
jetski's user avatar
4votes
4answers
2kviews

Initialized Array Template Class (C++)

The problem We want to use a very large array for some computations. When created, all the elements of this array have to be initialized to some value. We'll only use a few values from the array1,...
user avatar
3votes
1answer
2kviews

Generic Implementation for Api call in c#

i have created one generic implementation for api call from all over my application. ...
Lalji Dhameliya's user avatar
2votes
2answers
347views

EventLogger for MVC application

I have worked on one application related for booking space and required to store activity of user into table and access from admin side. For that I have created one database entity and ...
Lalji Dhameliya's user avatar
2votes
1answer
117views

Extending Exception: avoiding code duplication

I'm implementing a REST API in PHP 7.1. It is designed to throw Exceptions to print non-200 responses. I decided to go with the following: ...
Belle's user avatar
7votes
3answers
3kviews

Object-oriented Bank class

I am quite new to programming and was given an assignment in a job recruitment(now finished) to program a simple Bank class and other relevant classes based on this interface: ...
odgaard's user avatar
2votes
0answers
197views

My included in every script file - follow-up -1

In this particular question, I need the reviewers help to judge my understanding to MVC and OOP as it was my biggest problem in my original question a month ago. I included in the question the contact ...
Accountant م's user avatar
1vote
2answers
893views

WPF wizard-like app

I'm designing and developing wizard-like app for populating the database I created with data from different sources. It's my first attempt to design and develop well-structured object-oriented ...
doctorwhy's user avatar
3votes
1answer
955views

Create database connection and run the insert, delete, update queries class-Update

Based on the feedback I have got from the guys reviewing the code as posted in my previous question. Create database connection and run the insert, delete, update queries class I have used ...
themasterchief's user avatar

153050per page
close